* lisp/net/rcirc.el: Add support for SSL/TLS connections.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 May 2011 02:25:58 +0000 (23:25 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 May 2011 02:25:58 +0000 (23:25 -0300)
commit33389c4e527800fdb92856605a4549e5c5dd4c14
tree3c64fcc9081919aabc83ae38bb5e2d41d0d4dd08
parentafca000df8a1aa77d2d422a1cfdaef2908b65891
* lisp/net/rcirc.el: Add support for SSL/TLS connections.
(rcirc-server-alist): New field `encryption'.
(rcirc): Check `encryption' settings.
(rcirc-connect): New arg `encryption'.  Use open-network-stream.
Merge make-local-variable into `set'.
(rcirc--connection-open-p): New function.
(rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
the process is not a network process (e.g. running gnutls-cli).
(set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
Make rcirc-(en|de)code-coding-system local here.
(rcirc-mode): Merge make-local-variable into `set'.
(rcirc-parent-buffer): Make permanent buffer-local.
(rcirc-multiline-minor-mode): Don't do it here.
(rcirc-switch-to-server-buffer): Don't switch to a random buffer if
there's no server buffer.
lisp/ChangeLog
lisp/net/rcirc.el